/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

/**
 *
 * @author tipuder
 */
public class Page {
    private String star_key;
    private int limit;

    public Page(String star_key) {
        this.star_key = star_key;
        this.limit = 10;
    }

    public Page(String star_key, int limit) {
        this.star_key = star_key;
        this.limit = limit;
    }
    
    public Page(Byte[] star_key, int limit) {
        this.star_key = star_key.toString();
        this.limit = limit;
    }  
    

    public void setStar_key(String star_key) {
        this.star_key = star_key;
    }

    public void setStar_key(Byte[] star_key) {
        this.star_key = star_key.toString();
    }
    
    public String getStar_key() {
        return star_key;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }
    
    public byte[] getStar_key_Byte() {
        return star_key.getBytes();
    }

    public int getLimit() {
        return limit;
    }
    
}
